package org.icress.fusion.shiro

class User {
	
    String username
    String passwordHash
    
    static hasMany = [ roles: Role, permissions: String ]
	

    static constraints = {
        username(nullable: false, blank: false, unique: true, maxSize:25)
    }
	
	static mapping = {
		table 'Shiro$User'
	}
}